package com.example.zhaoping.service;

import com.example.zhaoping.entity.User;

public interface UserService {
    /*登录接口*/
    User login(User user);
    /*注册*/
    int registerUser(User user);
    /*修改*/
    User editUser(User user);
    /*删除*/
    User deleteUser(Long id);

    User selectByUserName(User user);

    User selectByUserId(int id);
}
